// 配置vuex
import Vuex from 'vuex'
import Vue from 'vue'
import cart from '../store/modules/cart.js'
Vue.use(Vuex)
// 创建vuex实例
const store = new Vuex.Store({
  state:{},
  mutations:{},
  actions:{},
  modules:{
    cart
  }
})
export default store